<?php
// define array
$profile = array(
  "fname" => "Pradeep",
  "mname" => "Sarita",
  "Age" => "55",
  "gender" => "male",
  "sub" => "computer"
);

rsort($profile);
print_r($profile);
